<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
    /* var i1=prompt("请输入月份")
    console.log(i1);
    var i=Number.parseInt(i1)
    console.log(typeof i);
    
    if(i==12||i==1||i==2){
        console.log("冬天");
        
    }else if(i>=6&&i<=8){
        console.log("夏天");
    }else{
        console.log("你好");
        
    } */

    //非空字符串判断为真
    //非空对象也判断为true newobject（）
    /* if('flase'){
        console.log(true)
    }else{
        console.log(false);
        
    } */
    var i1=prompt("请输入月份")
    var i=Number.parseInt(i1)
    





    </script>
</head>
<body>
    
</body>
</html>